package com.example.business_oa.controller;


import com.example.business_oa.service.QiDongFuLiLiuCheng;
import com.example.business_oa.service.QiDongYuSuanZhuiJiaService;
import com.example.comment_oa.dubbo.QiDongYuSuanZhuiJiaDubbo;
import com.example.comment_oa.pojos.SysEmployee;
import com.example.comment_oa.response.AjaxResponse;
import org.omg.PortableServer.POA;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.HashMap;

@RestController
@CrossOrigin
@RequestMapping("/businessOa")
public class QIDongYuSuanZhuiJiaController {

    @Resource
    QiDongYuSuanZhuiJiaService qiDongYuSuanZhuiJiaService;

    @PostMapping("/qidongyusuanzhuijia")
    public AjaxResponse qidognyusuanzhuijia(){


        //这个是关于流程的
//        HashMap<String, Object> variables = new HashMap<>();

        //要一个工号 ：是发起人的
        // 一个编号 是 ：主键
//        qiDongYuSuanZhuiJiaDubbo.qidongYuSuanZhuiJia();
        return AjaxResponse.success();
    }

}
